[IA64] Update sn_sal.h to latest 2.6.20 version
authorawilliam@xenbuild2.aw <awilliam@xenbuild2.aw>
Thu, 1 Mar 2007 17:31:58 +0000 (10:31 -0700)
committerawilliam@xenbuild2.aw <awilliam@xenbuild2.aw>
Thu, 1 Mar 2007 17:31:58 +0000 (10:31 -0700)
Signed-off-by: Jes Sorensen <jes@sgi.com>
xen/include/asm-ia64/linux/asm/sn/README.origin
xen/include/asm-ia64/linux/asm/sn/sn_sal.h

index 5d8d7cb671152dabf65580243191ce02a27d3a60..7a4f1c645d798de4e6363d1af427e24fbaa755dd 100644 (file)
@@ -18,7 +18,8 @@ shubio.h              -> linux/include/asm-ia64/sn/shubio.h
 simulator.h            -> linux/include/asm-ia64/sn/simulator.h
 sn_cpuid.h             -> linux/include/asm-ia64/sn/sn_cpuid.h
 sn_feature_sets.h      -> linux/include/asm-ia64/sn/sn_feature_sets.h
-sn_sal.h               -> linux/include/asm-ia64/sn/sn_sal.h
 tiocp.h                        -> linux/include/asm-ia64/sn/tiocp.h
 xbow.h                 -> linux/arch/ia64/sn/include/xtalk/xbow.h
 xwidgetdev.h           -> linux/arch/ia64/sn/include/xtalk/xwidgetdev.h
+# from 2.6.20
+sn_sal.h               -> linux/include/asm-ia64/sn/sn_sal.h
index ba826b3f75bbcc699aafe83769717d0495c9b7af..2c4004eb5a68bf68f2ef7ddfc70943bcc7e91219 100644 (file)
@@ -77,6 +77,7 @@
 #define  SN_SAL_IOIF_GET_WIDGET_DMAFLUSH_LIST     0x02000058   // deprecated
 #define  SN_SAL_IOIF_GET_DEVICE_DMAFLUSH_LIST     0x0200005a
 
+#define SN_SAL_IOIF_INIT                          0x0200005f
 #define SN_SAL_HUB_ERROR_INTERRUPT                0x02000060
 #define SN_SAL_BTE_RECOVER                        0x02000061
 #define SN_SAL_RESERVED_DO_NOT_USE                0x02000062
@@ -87,6 +88,8 @@
 #define  SN_SAL_INJECT_ERROR                      0x02000067
 #define  SN_SAL_SET_CPU_NUMBER                    0x02000068
 
+#define  SN_SAL_KERNEL_LAUNCH_EVENT               0x02000069
+
 /*
  * Service-specific constants
  */
@@ -1154,4 +1157,11 @@ ia64_sn_set_cpu_number(int cpu)
        SAL_CALL_NOLOCK(rv, SN_SAL_SET_CPU_NUMBER, cpu, 0, 0, 0, 0, 0, 0);
        return rv.status;
 }
+static inline int
+ia64_sn_kernel_launch_event(void)
+{
+       struct ia64_sal_retval rv;
+       SAL_CALL_NOLOCK(rv, SN_SAL_KERNEL_LAUNCH_EVENT, 0, 0, 0, 0, 0, 0, 0);
+       return rv.status;
+}
 #endif /* _ASM_IA64_SN_SN_SAL_H */